package com.situ.feemanagement.mapper;

import com.situ.feemanagement.pojo.Category;
import com.situ.feemanagement.pojo.query.CategoryQuery;

import java.util.List;

public interface CategoryMapper {

    List<Category> selectAll();

    List<Category> selectByPage(CategoryQuery categoryQuery);

    void deleteById(int id);

    void add(Category category);

    Category selectById(int id);

    void update(Category category);
}
